namespace EyeOpen.DddOrm.Domain
{
	using System.Collections.Generic;

	using EyeOpen.Domain;

	public class Portal
		: AggregateRoot
	{
		private readonly ICollection<Content> contentList =
			new List<Content>();

		protected internal Portal()
		{
			ContentList = contentList;
		}

		public virtual string Name { get; set; }

		public virtual IEnumerable<Content> ContentList { get; protected set; }

		public virtual void AddContent(Content content)
		{
			contentList.Add(content);
		}
	}
}